import 'package:fish_redux/fish_redux.dart';

import '../state.dart';

Reducer<HomeworkListState> buildReducer() {
  return asReducer(<Object, Reducer<HomeworkListState>>{
//    ToDoListAction.add: _add,
  });
}

//MainState _add(MainState state, Action action) {
//  final ToDoState toDo = action.payload;
//  final PageState newState = state.clone();
//  newState.toDos.add(toDo);
//  return newState;
//}
